import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import fastclick from "fastclick";
import lazyload from "vue-lazyload";
//这个就是一个事件总线可以监听全部的事件
Vue.prototype.$bus = new Vue()
Vue.config.productionTip = false
fastclick.attach(document.body);
//使用图片懒加载
Vue.use(lazyload,{
  loading:require('assets/img/logo.png')
})
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
